package com.yl.pattern.creatormodel.factory.abstract_factory;



/**
 * @Author 小羊
 * @Date 29/10/2024下午 9:14
 * @ClassName AmericanDessertFactory
 * @Description 美式风味
 */
public class AmericanDessertFactory implements DessertFactory {
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMousse();
    }
}
